Get Futures Info
Request Method
- Type: GET
- Description:
/future/market/v1/public/cg/contracts - Note: This method does not require signature.
Request Example
curl -G "https://fapi.xt.com/future/market/v1/public/cg/contracts" \
-H "Content-Type: application/x-www-form-urlencoded" \ # Required
Response Example
[
{
"id": 123,
"ask": "1817.32", // Current lowest ask price
"base_currency": "ETH", // Base currency code, e.g., BTC
"base_volume": "13267684284", // 24-hour trading volume
"bid": "1817.31", // Current highest bid price
"contractSize": 10, // Contract size
"end_timestamp": 253402099200000, // Contract expiration time
"funding_rate": "-0.03", // Funding rate
"high": "1828.89", // 24-hour highest price
"index_currency": "USD", // Index currency
"index_name": "ETH-USD", // Index name (if applicable)
"index_price": "1816.61", // Index price
"last_price": "1817.31", // Latest traded price
"low": "1778.65", // 24-hour lowest price
"next_funding_rate": "-0.03", // Next predicted funding rate
"next_funding_rate_timestamp": 1698681600000, // Next funding rate time
"open_interest": "2419347630", // 24-hour open interest (contracts)
"product_type": "PERPETUAL", // Product type
"start_timestamp": 1651328033000, // Contract start time (for expiring contracts or options)
"symbol": "eth_usd",
"target_currency": "USD", // Quote currency code, e.g., ETH
"target_volume": "73698647.51054371", // 24-hour quote volume
"ticker_id": "ETH-USD", // Trading pair identifier, using separator to distinguish base/quote currency
"underlyingType": 1 // Underlying type, e.g., Coin-M or USDT-M
}
]
Error Codes
| Error code | Description |
|---|---|
| - | - |